<template>
  <div>
    <div class="icon">
      <img
        src="https://img.ddtouxiang.com/upload/touxiang/20230331/0331192112181.png_preview.jpg"
        alt=""
      />
    </div>
    <ul class="list">
      <li @click="goPage('/ownDoc')">  
       <van-icon name="notes-o" size="40px" class="item-1"/>
       <span class="item-2">个人档案</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
      <li>  
       <van-icon name="edit" size="40px" class="item-1"/>
       <span class="item-2">完善个人资料</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
      <li>  
       <van-icon name="label-o" size="40px" class="item-1"/>
       <span class="item-2">我的收藏</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
      <li>  
       <van-icon name="award-o" size="40px" class="item-1"/>
       <span class="item-2">修改密码</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
      <li>  
       <van-icon name="warning-o" size="40px" class="item-1"/>
       <span class="item-2">退出登录</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
      <li>  
       <van-icon name="chat-o" size="40px" class="item-1 myi" />
       <span class="item-2">反馈帮助</span>
       <van-icon name="arrow" size="25px" class="item-3"/>
      </li>
    </ul>
   
  </div>
</template>

<script>
export default {
  name: 'User',
  data() {
    return {
      
    }
  },
  methods:{
    goPage(targrt){
      this.$router.push(targrt)
    }
  }
}
</script>

<style scoped>
.myi{
color: black;
}
.icon {
  width: 80px;
  height: 80px;
  margin: 35px auto;
}
img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.list{
  margin-top: 60px;
  font-size: 20px;
}
.list>li{
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  margin:16px 20px;
  border-bottom: 1px solid black;
}
.item-1{
  flex-grow: 1;
}
.item-2{
  flex-grow: 10;
}
/* .item-3{
  flex-grow: 1;
} */
</style>